import request from '@/utils/request'

export function getLostItem(pageNumber, rule) {
  return request({
    url: `prop/search/${pageNumber}`,
    method: 'post',
    data: rule
  })
}

export function getRoomNames() {
  return request({
    url: 'room/name',
    method: 'get'
  })
}
